class AsynchroniCode extends eui.Component implements  eui.UIComponent {
	public constructor() {
		super();
		let skinText =`<?xml version="1.0" encoding="utf-8"?>
		<e:Skin class="AsynchroniCodeSkin" width="70" height="120" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" >
			<e:Label id="asynchroniLable" text="Label" x="-2" y="50"/>
		</e:Skin>`
		this.skinName =skinText//没有直接指定皮肤名称会异步加载
	}
	private asynchroniLable:eui.Label
	protected partAdded(partName:string,instance:any):void
	{
		super.partAdded(partName,instance);
		console.log("@partName",partName);
		if(partName =="asynchroniLable"){
			this.asynchroniLable.text ="收到了开房记录"
		}
	}

	protected childrenCreated():void
	{
		super.childrenCreated();
	}
}